<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        //解构表达式
        let arr = [11,22,33]
        /*let a1 = arr[0]
        let a2 = arr[1]
        let a3 = arr[2]
        console.log(a1,a2,a3)*/

        //将元素分别保存在aX变量里
        let [a1,a2,a3] = arr;

        console.log(a1,a2,a3)
    </script>
</head>
<body>


</body>
</html>